.cell-selected {
  background-color: rgba(79, 46, 127, 0.2) !important;
}

//布局样式
.foot-bar {
  position: absolute;
  bottom: 20px;
  right: 10px;
  font-size: 12px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  .mr-20 {
    margin-right: 20px;
  }
}

.source-row-data-dev .cpas-grid > .dx-gridbase-container {
  z-index: 0;
}

.flexCon {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.inp_w80 {
  width: 80%;
}
.con {
  width: 100%;
  height: auto;
}
.h200 {
  width: 100%;
  height: 200px;
  overflow: auto;
}
.tle {
  width: 100%;
  height: 150px;
  border: 1px solid #ccc;
}

// 公共样式
// 弹窗
.custom_pop .ant-modal-header {
  padding: 10px 10px 5px 10px;
  border-bottom: 0;
}
.custom_pop .ant-modal-close-x {
  line-height: 38px;
}
.custom_pop .ant-modal-body {
  padding: 10px;
}
// tab页
.con .ant-tabs > .ant-tabs-nav,
.ant-tabs > div > .ant-tabs-nav > .ant-tabs > .ant-tabs-nav .ant-tabs-nav-wrap,
.ant-tabs > div > .ant-tabs-nav .ant-tabs-nav-wrap {
  background-color: transparent;
}
.con .ant-tabs-top > .ant-tabs-nav,
.ant-tabs-bottom > .ant-tabs-nav,
.ant-tabs-top > div > .ant-tabs-nav,
.ant-tabs-bottom > div > .ant-tabs-nav {
  margin: 0;
}
/// table
.custom_tble .ant-table {
  background: transparent;
}
.custom_tble
  .ant-table.ant-table-bordered
  > .ant-table-container
  > .ant-table-content
  > table
  > thead
  > tr
  > th,
.ant-table.ant-table-bordered
  > .ant-table-container
  > .ant-table-header
  > table
  > thead
  > tr
  > th,
.ant-table.ant-table-bordered
  > .ant-table-container
  > .ant-table-body
  > table
  > thead
  > tr
  > th,
.ant-table.ant-table-bordered
  > .ant-table-container
  > .ant-table-summary
  > table
  > thead
  > tr
  > th,
.ant-table.ant-table-bordered
  > .ant-table-container
  > .ant-table-content
  > table
  > tbody
  > tr
  > td,
.ant-table.ant-table-bordered
  > .ant-table-container
  > .ant-table-header
  > table
  > tbody
  > tr
  > td,
.ant-table.ant-table-bordered
  > .ant-table-container
  > .ant-table-body
  > table
  > tbody
  > tr
  > td,
.ant-table.ant-table-bordered
  > .ant-table-container
  > .ant-table-summary
  > table
  > tbody
  > tr
  > td,
.ant-table.ant-table-bordered
  > .ant-table-container
  > .ant-table-content
  > table
  > tfoot
  > tr
  > th,
.ant-table.ant-table-bordered
  > .ant-table-container
  > .ant-table-header
  > table
  > tfoot
  > tr
  > th,
.ant-table.ant-table-bordered
  > .ant-table-container
  > .ant-table-body
  > table
  > tfoot
  > tr
  > th,
.ant-table.ant-table-bordered
  > .ant-table-container
  > .ant-table-summary
  > table
  > tfoot
  > tr
  > th,
.ant-table.ant-table-bordered
  > .ant-table-container
  > .ant-table-content
  > table
  > tfoot
  > tr
  > td,
.ant-table.ant-table-bordered
  > .ant-table-container
  > .ant-table-header
  > table
  > tfoot
  > tr
  > td,
.ant-table.ant-table-bordered
  > .ant-table-container
  > .ant-table-body
  > table
  > tfoot
  > tr
  > td,
.ant-table.ant-table-bordered
  > .ant-table-container
  > .ant-table-summary
  > table
  > tfoot
  > tr
  > td {
  border-right: 1px solid #f8f8f8;
}
.custom_tble .ant-table-thead > tr > th {
  position: relative;
  color: #0f0f0f;
  font-weight: 500;
  text-align: left;
  background: #faf8f8;
  border: 1px solid #cac9c9;
}
.custom_tble
  .ant-table.ant-table-bordered
  > .ant-table-container
  > .ant-table-content
  > table
  > thead
  > tr
  > th,
.ant-table.ant-table-bordered
  > .ant-table-container
  > .ant-table-header
  > table
  > thead
  > tr
  > th,
.ant-table.ant-table-bordered
  > .ant-table-container
  > .ant-table-body
  > table
  > thead
  > tr
  > th,
.ant-table.ant-table-bordered
  > .ant-table-container
  > .ant-table-summary
  > table
  > thead
  > tr
  > th,
.ant-table.ant-table-bordered
  > .ant-table-container
  > .ant-table-content
  > table
  > tbody
  > tr
  > td,
.ant-table.ant-table-bordered
  > .ant-table-container
  > .ant-table-header
  > table
  > tbody
  > tr
  > td,
.ant-table.ant-table-bordered
  > .ant-table-container
  > .ant-table-body
  > table
  > tbody
  > tr
  > td,
.ant-table.ant-table-bordered
  > .ant-table-container
  > .ant-table-summary
  > table
  > tbody
  > tr
  > td,
.ant-table.ant-table-bordered
  > .ant-table-container
  > .ant-table-content
  > table
  > tfoot
  > tr
  > th,
.ant-table.ant-table-bordered
  > .ant-table-container
  > .ant-table-header
  > table
  > tfoot
  > tr
  > th,
.ant-table.ant-table-bordered
  > .ant-table-container
  > .ant-table-body
  > table
  > tfoot
  > tr
  > th,
.ant-table.ant-table-bordered
  > .ant-table-container
  > .ant-table-summary
  > table
  > tfoot
  > tr
  > th,
.ant-table.ant-table-bordered
  > .ant-table-container
  > .ant-table-content
  > table
  > tfoot
  > tr
  > td,
.ant-table.ant-table-bordered
  > .ant-table-container
  > .ant-table-header
  > table
  > tfoot
  > tr
  > td,
.ant-table.ant-table-bordered
  > .ant-table-container
  > .ant-table-body
  > table
  > tfoot
  > tr
  > td,
.ant-table.ant-table-bordered
  > .ant-table-container
  > .ant-table-summary
  > table
  > tfoot
  > tr
  > td {
  border-right: 1px solid #e6e6e6 !important;
  border-left: 0;
}
.custom_tble .ant-table-tbody > tr > td {
  border-bottom: 1px solid #e6e6e6 !important;
  border-top: 0;
  border-left: 0;
}
.custom_tble .ant-table.ant-table-bordered > .ant-table-container {
  border-left: 1px solid #e6e6e6 !important;
}
.custom_tble
  .ant-table.ant-table-bordered
  > .ant-table-container
  > .ant-table-content
  > table,
.ant-table.ant-table-bordered
  > .ant-table-container
  > .ant-table-header
  > table {
  border-top: 0;
}

.custom_sel .ant-select-selection-item {
  font-size: 14px;
}

// 通用样式 start
// 行排列 从左 -> 右
.flex-start {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}
//居右排列
.flex-end {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}
.mb-10 {
  margin-bottom: 10px;
}
.mt-8 {
  margin-top: 8px;
}
.mr-8 {
  margin-right: 8px;
}
.mr-16 {
  margin-right: 16px;
}
.ml-16 {
  margin-left: 16px;
}
.mr-24 {
  margin-right: 24px;
}
.ml-24 {
  margin-left: 24px;
}

.f12 {
  font-size: 14px;
}
.elli {
  width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid;
}
// 通用样式 end

// 图标样式 start
.block {
  display: block;
}
.refresh {
  width: 16px;
  height: 16px;
  // background: url('~@/assets/img/refresh.png') no-repeat;
  background-size: 100%;
  margin: 5px 0 0 5px;
  cursor: pointer;
}
.icon-left {
  width: 16px;
  height: 16px;
  // background: url('~@/assets/img/icon-left.png') no-repeat;
  background-size: 100%;
  margin: 5px 0 0 5px;
  cursor: pointer;
}
.icon-eye {
  width: 16px;
  height: 16px;
  // background: url('~@/assets/img/icon-eye.png') no-repeat;
  background-size: 100%;
  margin: 5px 0 0 5px;
  cursor: pointer;
}
.icon-save {
  width: 16px;
  height: 16px;
  // background: url('~@/assets/img/icon-save.png') no-repeat;
  background-size: 100%;
  margin: 5px 0 0 5px;
  cursor: pointer;
}
.icon-set {
  width: 16px;
  height: 16px;
  // background: url('~@/assets/img/icon-set.png') no-repeat;
  background-size: 100%;
  margin: 5px 0 0 5px;
  cursor: pointer;
}
.icon-list {
  width: 16px;
  height: 16px;
  // background: url('~@/assets/img/icon-list.png') no-repeat;
  background-size: 100%;
  margin: 5px 0 0 5px;
  cursor: pointer;
}

// 图标样式 end

// .dx-texteditor.dx-editor-outlined{
//   width:145px;
// }
.dx-icon-customicon {
  // background-image: url('~@/assets/img/refresh.png');
  background-repeat: no-repeat;
  background-position: 0px 0px;
}

//////////////////////
.tables {
  display: flex;
}

.column:first-child {
  width: 50%;
  padding-right: 15px;
}

.column:last-child {
  width: 50%;
  padding-left: 15px;
}
//////////////////////////
.flex-col {
  display: flex;
  flex-direction: column;
}

.tables {
  display: flex;
}

.column:first-child {
  width: 50%;
  padding-right: 15px;
}

.column:last-child {
  width: 50%;
  padding-left: 15px;
}

/* 行动态取数弹窗样式*/
///////////////////////////
.box_bg {
  width: 100%;
  height: 200px;
  overflow-y: auto;
  background: rgba(200, 190, 175, 0.2);
  padding: 24px 32px;
}
/* 用于行动态取数 */
.box_flex_col2 {
  /* display: flex;
  flex-direction: column; */
  display: grid;
  grid-template-columns: repeat(5, auto);
  grid-gap: 1rem;
  grid-template-rows: repeat(1fr);
}
/* 用于列动态取数 */
.box_flex_col {
  display: grid;
  grid-template-columns: auto;
  grid-gap: 1rem;
  grid-template-rows: 1fr;
}

.flex_col {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.mb-24 {
  margin-bottom: 24px;
}
.box_flex_row {
  display: flex;
  flex-direction: row;
}
.diamond {
  width: 40px;
  height: 40px;
  background: rgba(79, 45, 127, 0.2);
  text-align: center;
  line-height: 36px;
  color: #000;
  font-size: 12px;
}
.small_bg {
  background: #fff;
  padding: 0 8px;
}
.f1 {
  font-size: 12px;
  font-weight: bold;
  border-bottom: 1px solid rgba(200, 190, 175, 0.2);
}
.f2 {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.6);
}

// 弹窗中底稿结构化tab页 样式
.nowrap {
  white-space: nowrap;
}
.icon-filter {
  background-image: url("../../img/icon-filter.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}
.icon-size16 {
  width: 16px;
  height: 16px;
}
.icon-small {
  background-image: url("../../img/icon-small.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}
.icon-arrow-up {
  background-image: url("../../img/icon-up.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  width: 10px;
  height: 10px;
}
.icon-arrow-down {
  background-image: url("../../img/icon-down.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  width: 10px;
  height: 10px;
}
.icon-del {
  background-image: url("../../img/icon-delete.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}
.icon-add {
  background-image: url("../../img/icon-add.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}
.icon-zimudaoxu {
  background-image: url("../../img/icon-zimudaoxu.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}
.icon-zimushunxu {
  background-image: url("../../img/icon-zimushunxu.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

.box_flow {
  position: absolute;
  width: 500px;
  height: auto;
  z-index: 15;
  right: 133px;
  bottom: 100px;
}
.box_flow_order {
  position: absolute;
  width: auto;
  height: auto;
  z-index: 15;
  right: 133px;
  margin-top: 20px;
}
.fang {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  text-align: center;
  background-color: rgba(105, 61, 165, 0.4);
}
.w30 {
  width: 30px;
}
.w100 {
  width: 100px;
}

// /ceshi table drag style
.column:first-child {
  width: 50%;
  padding-right: 15px;
}

.column:last-child {
  width: 50%;
  padding-left: 15px;
}

.cur {
  cursor: pointer;
}
.bd_active {
  // border: 1px solid rgb(203, 199, 199);
  // background: #f8f8f8;
  border: 1px solid #4f2d7f;
  background: #4f2d7f;
}

.dismantle-container {
  height: 110px;

  .dismantle-confirm-container {
    position: relative;
    .dismantle-confirm-btn {
      position: absolute;
      right: 60px;
      width: 50px;
    }

    .dismantle-reset-btn {
      position: absolute;
      right: 0;
      width: 50px;
    }
  }
}

.icon_refresh {
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 2px;
  margin-left: 8px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  // cursor: pointer;
  // padding: 2px 6px;
  // border: 1px solid #ccc;
  // border-radius: 2px;
  // margin-left: 8px;
}
// 取数源下拉框
#self_sty
  .ant-select-single.ant-select-sm:not(.ant-select-customize-input)
  .ant-select-selector {
  height: 32px;
  padding: 4px;
}
#self_sty .ant-select:not(.ant-select-customize-input) .ant-select-selector {
  background-color: #fff;
}

#slef_sort .ant-card-small > .ant-card-body {
  padding: 12px;
  height: 135px;
  overflow: auto;
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  pointer-events: stroke;
  // cursor: not-allowed;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0.5;
  z-index: 1;
}
.overlay_relates {
  position: fixed;
  top: 0;
  left: 0;
  width: 1200px;
  height: 280px;
  pointer-events: none;
  pointer-events: stroke;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0.5;
  z-index: 1;
}
.sort_col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.sort_row {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}
.custom_curYear {
  width: 100px;
}
.modal_sty .ant-modal-header {
  border-bottom: 1px solid rgba(200, 190, 175, 0.2);
}
.modal_sty .ant-modal-footer {
  border-bottom: 1px solid rgba(200, 190, 175, 0.2);
}
.custom-dropdown .ant-select-dropdown-menu {
  width: 400px;
}

// .custom_sel_sty .ant-select-dropdown option{
//     border: 2px solid #f00;
//     width: 400px!important;

// }

// antd select
.ant-select-dropdown {
  // border:2px solid #ff0;
  width: 300px !important;
}

.bold {
  font-weight: bold;
}

.operation-popover {
  .operation-add-box {
    padding-bottom: 5px;
    display: flex;
    justify-content: flex-end;
  }
  .operation-add {
    text-align: right;
    width: 100px;
    cursor: pointer;
  }
  .select_type {
    width: 140px;
  }
  .icon-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
  }
  .operation-table {
    height: 200px;
  }
  .table-up tr td.ant-table-cell {
    padding: 8px;
  }
  .operation-content-bottom {
    margin-top: 14px;
    position: relative;
    .operation-tip {
      position: absolute;
      left: 0;
      padding-top: 9px;
      font-size: 12px;
    }
    .operation-button {
      position: absolute;
      right: 0;
    }
  }
}
